package com.miracle9.game.entity;

import javax.persistence.Entity;

@Entity
public class PayLog extends BaseEntity {

    private int userId;
    private String username;
    private String datetime;
    private double money;
    private int gold;
    private String admin;
    private int type;
    private int authority;
    private int expiryType = 0;
    private String remark;
    private int userType;
    private int parentPromoterId;
    private int gameGold;

    public PayLog() {
    }

    public int getGameGold() {
        return this.gameGold;
    }

    public void setGameGold(int gameGold) {
        this.gameGold = gameGold;
    }

    public PayLog(int userId, String username, String datetime, double money, int gold, String admin, int type, int authority, int expiryType, String remark, int userType, int parentPromoterId, int gameGold) {
        this.userId = userId;
        this.username = username;
        this.datetime = datetime;
        this.money = money;
        this.gold = gold;
        this.admin = admin;
        this.type = type;
        this.authority = authority;
        this.expiryType = expiryType;
        this.remark = remark;
        this.userType = userType;
        this.parentPromoterId = parentPromoterId;
        this.gameGold = gameGold;
    }

    public String getDatetime() {
        return this.datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public double getMoney() {
        return this.money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public int getGold() {
        return this.gold;
    }

    public void setGold(int gold) {
        this.gold = gold;
    }

    public String getAdmin() {
        return this.admin;
    }

    public void setAdmin(String admin) {
        this.admin = admin;
    }

    public int getType() {
        return this.type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getUserId() {
        return this.userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return this.username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getAuthority() {
        return this.authority;
    }

    public void setAuthority(int authority) {
        this.authority = authority;
    }

    public int getExpiryType() {
        return this.expiryType;
    }

    public void setExpiryType(int expiryType) {
        this.expiryType = expiryType;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getUserType() {
        return this.userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public int getParentPromoterId() {
        return this.parentPromoterId;
    }

    public void setParentPromoterId(int parentPromoterId) {
        this.parentPromoterId = parentPromoterId;
    }

    public String toString() {
        return "PayLog [userId=" + this.userId + ", username=" + this.username + ", datetime=" + this.datetime + ", money=" + this.money + ", gold=" + this.gold + ", admin=" + this.admin + ", type=" + this.type + ", authority=" + this.authority + ", expiryType=" + this.expiryType + ", remark=" + this.remark + ", userType=" + this.userType + ", parentPromoterId=" + this.parentPromoterId + "]";
    }

}
